<template>
	<view class="">
		<view class="hetop pad-lr-30">
			<image :src="qrcode" class="width-100 mar-top-30" mode="widthFix"></image>
		</view>
	</view>
</template>

<script lang="ts" setup>
import { onLoad } from '@dcloudio/uni-app';
import {getUnlimitedQRCode} from '@/utils/api'
import { ref } from 'vue';
onLoad(()=>{
	_getUnlimitedQRCode()
})
const qrcode = ref()
const _getUnlimitedQRCode=()=>{
	getUnlimitedQRCode({page:'pages/index/index'}).then(res=>{
		if(res.code==1){
			qrcode.value = res.data.qrcode
		}
	})
}
</script>

<style lang="scss">
page{
	// background-color:#1a1a1c;
}
.hetop{
	height: 790rpx;
	// background: linear-gradient( 180deg, #2a2a2c 0%, #1a1a1c 100%);
}
</style>
